<% define_content :link do %>
  <%= polymorphic_url([asset.context, :files]) %>
<% end %>
<% define_content :subject do %>
  <%= t('subject', '%{count} new files added for the course, %{name}:', 
          :count => n(data.count),
          :name => asset.context.name) %>
<% end %>
<%= t('body', '%{count} new files added for %{name}.', 
        :count => n(data.count),
        :name => asset.context.name) %>

<%= t 'link', 'You can view them here' %>
<%= content :link %>